dsh-opencode-go-usage: Real-time display of OpenCode Go subscription usage in the bottom-right corner of the DSH Web GUI

dsh-opencode-go-usage is a DSH Web plugin (v0.1.0, MIT License) maintained by kkishapppy. It permanently displays the percentage usage and reset countdown for the Scroll, Weekly, and Monthly tiers of the OpenCode Go subscription in the bottom-right corner of the DSH Web GUI. It automatically refreshes every 60 seconds and immediately refreshes when the window is brought back to the foreground. The plugin consists of two parts: a server-side component that proxies the usage interface and manages the API key (parsed via the DSH credential service, with configurable credential names and cache durations), and a browser-side component responsible for rendering the widget. The widget's style automatically adapts to light and dark themes based on DSH theme tokens. The API key exists only on the server side and is not exposed to the browser. Installation requires a single command and simple configuration, making it suitable for users utilizing the OpenCode Go subscription.

Read More